//
//  SISSJsonRequestNetworkingManager+Login.h
//  SISSAPP
//
//  Created by 袁应荣 on 2018/12/3.
//  Copyright © 2018年 优房网. All rights reserved.
//

#import "SISSJsonRequestNetworkingManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface SISSJsonRequestNetworkingManager (Login)


/**
 1.1 登录

 @param parameters 登录参数
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)loginWithParameters:(NSDictionary *)parameters successBlock:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

/**
 1.4 登录后获取人员相关信息
 
 @param name 登录名
 @param successBlock 成功的回调
 @param failedBlock 失败的回调
 */
- (void)requestLoginPersonInfoWithName:(NSString *)name successBlock:(void(^)(id responseObject))successBlock failed:(void(^)(NSError *error))failedBlock;

@end

NS_ASSUME_NONNULL_END
